package com.mytomcat.catalina.valve;


import com.mytomcat.catalina.request.Request;
import com.mytomcat.catalina.response.Response;

/**
 * 阀接口
 *
 * @author supu
 * @date 2019-04-19 13:43
 **/
public interface Valve {
    void setNext(Valve valve);

    Valve getNext();

    void invoke(Request request, Response response);
}
